<%--
  Created by IntelliJ IDEA.
  User: ttxs
  Date: 2023/11/13
  Time: 15:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>Title</title>
    <script src="${pageContext.request.contextPath}/statics/js/jquery-1.8.3.min.js"></script>
    <script>
    </script>
</head>
<body>
<form method="post" enctype="multipart/form-data" action="${pageContext.request.contextPath}/stu/upload">
    <input type="hidden" name="id" value="${id}">

    <table>
        <tr>
            <td>身份证正面</td>
            <td>
                <input type="file" name="idcardPositiveFile">
                ${errors.idcardPositive}
            </td>
        </tr>
        <tr>
            <td>身份证反面</td>
            <td>
                <input type="file" name="idcardNegativeFile">
                ${errors.idcardNegative}
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="上传">
                <a href="javascript:void(0)" onclick="location.href='${pageContext.request.contextPath}/stu/backToList'">返回</a>
            </td>
        </tr>
    </table>
</form>

</body>
</html>
